package com.oceansoft.mobile.weixin.entity;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class WX_Reply {
	private long sid;
	private String wx_openid;
	private String material_type;
	private String material_id;
	
	private String key_name;
	
	public static RowMapper<WX_Reply> getMapp() {
        return new RowMapper<WX_Reply>() {
            @Override
            public WX_Reply mapRow(ResultSet rs, int rowNum) throws SQLException {
            	WX_Reply obj = new WX_Reply();
                obj.setMaterial_type(rs.getString("material_type"));
                obj.setMaterial_id(rs.getString("material_id"));
                return obj;
            }
        };
    }
	
	public String getMaterial_type() {
		return material_type;
	}

	public void setMaterial_type(String material_type) {
		this.material_type = material_type;
	}


	public String getKey_name() {
		return key_name;
	}

	public void setKey_name(String key_name) {
		this.key_name = key_name;
	}

	public long getSid() {
		return sid;
	}
	public void setSid(long sid) {
		this.sid = sid;
	}
	public String getWx_openid() {
		return wx_openid;
	}
	public void setWx_openid(String wx_openid) {
		this.wx_openid = wx_openid;
	}

	public String getMaterial_id() {
		return material_id;
	}

	public void setMaterial_id(String material_id) {
		this.material_id = material_id;
	}
	
	

}
